package designs.models.command.macros;

public class PrintNumber {
	int n ;

	public PrintNumber(int n) {
		super();
		this.n = n;
	}
	
	public void printEvenNumber() {
		for (int m = 1; m <= n; m++) {
			if (m%2 == 0) {
				System.err.print(" "+m);
			}
		}
	}
}
